FUNCTION

assert_ge_le

pure function assert_ge_le<T>(actual: T, least_expected: T, greatest_expected: T): unit

Assert that a value falls within given bounds.

Specifically, assert that the value is greater than or equal to a lower bound, and less than or equal to an upper bound.

Parameters

  • actual — the actual value
  • least_expected — the lower bound (inclusive)
  • greatest_expected — the upper bound (inclusive)

Since

0.10.4

© 2026 Chromia